//
//  FTSlideViewController.h
//  FoodMaster
//
//  Created by 梁尚嘉 on 2017/3/23.
//  Copyright © 2017年 stree7. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "FTSlideBar.h"
@interface FTSlideViewController : UIViewController
<FTSlideBarDataSource,FTSlideBarDelegate>
{
    NSArray *_titles;
}
@property (nonatomic, strong) NSArray <UIViewController *>*controllers;
@property (nonatomic, strong) NSArray *titles;
@property (nonatomic, strong, readonly) FTSlideBar *slideBar;
@property (nonatomic, assign) NSUInteger selectedIndex;

- (void)switchToPage:(NSUInteger)pageIndex
            animated:(BOOL)animated;

@end
